package beans;

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface I_RMI extends Remote {
	public int[][] getCasas() throws RemoteException;
	public int conectar() throws RemoteException;
	public int getJogador() throws RemoteException;
	public boolean jogoCompleto()throws RemoteException;
	public void jogar(int iMarcado, int jMarcado, int i, int j) throws RemoteException;
	public void jogarSemTrocarVez(int iMarcado, int jMarcado, int i, int j) throws RemoteException;
	public void trocarPeca(int i, int j, int peca) throws RemoteException;
	public void notificaChequeMate() throws RemoteException;
	public boolean getChequeMate() throws RemoteException;
	public void setDesistiu()throws RemoteException;
	public boolean getDesistiu()throws RemoteException;
	public void setEmpateSolicitado(boolean empateSolicitado) throws RemoteException;
	public boolean getEmpateSolicitado() throws RemoteException;
	public void setEmpateAceito(boolean empateAceito) throws RemoteException;
	public boolean getEmpateAceito() throws RemoteException;
}
